package com.admin.boot.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;




import java.util.Date;


import java.io.Serializable;

/**
* (SysMenuPermission)实体类
*
* @author makejava
* @since 2024-01-12 14:51:54
*/
@Data
@TableName("sys_menu_permission")
@Accessors(chain = true)
public class SysMenuPermission implements Serializable {
private static final long serialVersionUID = -43316718241889750L;

    /**
    * 主键
    */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
    * 更新时间
    */
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
    * 角色id
    */
    @ApiModelProperty(value = "角色编码")
    private String roleCode;

    /**
    * 菜单id
    */
    @ApiModelProperty(value = "菜单id")
    private String menuId;

}

